<?php
	class MY_Controller extends CI_Controller{

	}
	/*前台总控制器*/
	class F_Controller extends CI_Controller{
		public function __construct(){
			parent::__construct();
			//导航
			$this->navigation = array(
				'activeController' => 'index',
				'list' => array(
					'index' => array('title'=>'首页', 'url' => site_url()),
					'product' => array('title'=>'产品展示', 'url'=> site_url('product/index')),
					'store' => array('title'=>'门店展示', 'url'=> site_url('store/index')),
					'join' => array('title'=> '合作加盟', 'url' => site_url('join/index')),
					'contact' => array('title'=>'联系我们', 'url'=> site_url('contact/index'))
				)
			);
			//站点信息
			$this->site = array(
				'name' => '森源之家',
				'keywords' => '西安实木门生产,西安实木门销售,西安实木门加盟,西安木门,西安实木门,木门生产,木门销售,木门加盟,木门,实木门',
				'description' => '森源之家木门目标立足高端家居市场，致力于提高家庭整体居住水平,森源之家集研发,生成,销售,服务于一体,以加盟,代理为主要销售渠道,用料考究,设计合理,质量保证,一流售后.配套齐全,欢迎来电!',
				'email' => '',
				'qq' => '',
				'telephone' => '',
				'address' => ''
			);
		}

		public function initialize(){
			$data = array(
				'navigation' => $this->navigation,
				'site' => $this->site
			);
			$this->load->vars($data);
		}
	}

	/*后台总控制器*/
	class B_Controller extends CI_Controller{
		
	}